<div class="pop" style="width:300px;margin:10px 0 15px 0;">
	<div class="con">
		<table border="0" cellspacing="0" cellpadding="0">
<tr>
				<td width="71" height="26" align="right">{$ts['app']['app_alias']}名称：</td>
		  <td><input  name="name" type="text" class="TextH20" id="name"  style="width:170px;" onfocus="this.className='Text2'" onblur="this.className='TextH20'" maxlength="20" /></td>
		  </tr>
			<tr>
				<td height="26" align="right">访问权限：</td>
				<td align="left">
				  <select name="privacy" id="privacy" onchange="javascript:changePrivacy(this);">
						<option value="1">所有人可见</option>
						<option value="2">关注的可见</option>
						<option value="3">仅自己可见</option>
						<option value="4">凭密码访问</option>
					</select></td>
			</tr>
			<tr id="need_password" style="display:none;">
				<td height="26" align="right">设置密码：</td>
			  <td><input name="privacy_data" type="text" class="TextH20" id="textfield3" style="width:170px;" onblur="this.className='TextH20'" onfocus="this.className='Text2'" /></td>
			</tr>
		</table>
	</div>
</div>
<div style="margin-left:98px; text-align:left; padding-bottom:10px">
	<input type="button" onclick="do_create_album()" class="btn_b" value="确定">
</div>

<script type="text/javascript">
function changePrivacy(obj){
	if(obj.value==4){
		$('#need_password').show();
	}else{
		$('#need_password').hide();
	}
}
</script>